<table cellpadding="2" cellspacing="1" width="98%">
	<input type="hidden" name="setting[type]" value="varchar">
    <tr> 
        <td width="180">表单显示模式</td>
        <td><input type="radio" name="setting[show_type]" value="1" title=" 图片模式 " <?php if ($setting['show_type']) echo 'checked'; ?>/><input type="radio" name="setting[show_type]" value="0" title=" 文本框模式" <?php if (!$setting['show_type']) echo 'checked'; ?>/></td>
    </tr>
    <tr> 
        <td>允许上传的图片类型</td>
        <td><div class="layui-input-inline" style="width: 200px;"><input type="text" name="setting[upload_allowext]" value="<?php echo isset($setting['upload_allowext']) ? $setting['upload_allowext'] : 'gif|jpg|jpeg|png|bmp'; ?>" size="40" class="layui-input"></div></td>
    </tr>
    <tr> 
        <td>是否在图片上添加水印</td>
        <td><input type="radio" name="setting[watermark]" value="1" title=" 是 " <?php if ($setting['watermark']) echo 'checked'; ?>><input type="radio" name="setting[watermark]" value="0" title=" 否" <?php if (!$setting['watermark']) echo 'checked'; ?>></td>
    </tr>
    <tr> 
        <td>是否从已上传中选择</td>
        <td><input type="radio" name="setting[isselectimage]" value="1" title=" 是 " <?php if ($setting['isselectimage']) echo 'checked'; ?>><input type="radio" name="setting[isselectimage]" value="0" title=" 否" <?php if (!$setting['isselectimage']) echo 'checked'; ?>></td>
    </tr>
    <tr> 
        <td>自动裁减图像大小</td>
        <td>
            宽 
            <div class="layui-input-inline" style="width: 80px;">
                <input type="text" name="setting[images_width]" value="<?php echo $setting['images_width']; ?>" size="3" class="layui-input">
            </div>
            <div class="layui-input-inline" style="width: 50px;">
                 px&nbsp;&nbsp;&nbsp;&nbsp;高 
            </div>
            <div class="layui-input-inline" style="width: 80px;">
                <input type="text" name="setting[images_height]" value="<?php echo $setting['images_height']; ?>" size="3" class="layui-input">
            </div>
            <div class="layui-input-inline" style="width: 80px;">
             px
            </div>
        </td>
    </tr>
</table>